package com.bestcem.xm.ticket.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * 工单条件分类
 * @author jy.zhao
 * @version 1.0
 * @date 2021/8/18 13:43
 **/
@Getter
@ToString
public enum TicketConditionCategoryEnum {

    /**
     * 问题
     */
    QUESTION(0, "问题"),

    /**
     * 计算
     */
    CALCULATE(1, "计算"),

    /**
     * 无效
     */
    INVALID(2, "无效"),

    /**
     * 答卷状态变化
     */
    RESPONDENT_STATUS_CHANGE(3, "答卷状态变化");

    private final String name;

    private final int index;

    TicketConditionCategoryEnum(int index, String name) {
        this.name = name;
        this.index = index;
    }

}
